<template lang="html">
	<div class="swiper-container">
		<mt-swipe class="swipeul" :auto="3000">
			<mt-swipe-item class="swipeli" v-for="(item,i) in dataList" :key="i">
					<img class="swipeimg" :src="'http://img1.wangjiu.com/'+item.ad_source_imgpath" />
			</mt-swipe-item>
		</mt-swipe>
	</div>

</template>

<script>
	import Vue from "vue"
	import VueResource from "vue-resource"
	Vue.use(VueResource)
	export default {

		data() {
			return {
				dataList: [	],
			}
		},
		methods: {
			getimglist() {
			}
		},
		mounted(){
			this.$http.jsonp('api/board/query/space.jsonp?client_sig=wap&format=jsonp&space_id=395&_=1508943588570')
				.then((response) => {
					const data = response.body.result
					this.dataList = data
				})
		}
	}
</script>
<style scoped="scoped">
	.swiper-container {
		width: 100%;
		height: 1.8rem;
	}
	.swipeul{
		height: 100%;
	}
	.swipeli{
		float: left;
	}
	.swipeimg{
		display: inline-block;
		width: 100%;
		height:100%;
	}
</style>
